package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.FindMapper;
import com.rongke.model.Find;
import com.rongke.service.FindService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @FindServiceImpl
 * @发现（废弃）ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class FindServiceImpl extends ServiceImpl<FindMapper, Find> implements FindService {

    @Autowired
    private FindMapper findMapper;

    /**
     * @根据条件查找发现（废弃）
     * @param find
     * @return
     */
    @Override
    public List<Find> selectByCondition(Find find) {
        return findMapper.selectByCondition(find);
    }
}
